package com.design.tempelate;

public class Main {

    public static void main(String[] args) {
        HrWorker zhang1 = new HrWorker("zhang1");
        zhang1.workOneDay();

        ITWorker zhang2 = new ITWorker("zhang2");
        zhang2.workOneDay();

        ManagerWorker zhang3 = new ManagerWorker("zhang3");
        zhang3.workOneDay();

        QAWorker zhang4 = new QAWorker("zhang4");
        zhang4.workOneDay();
    }

}
